package com.kylin.java3;

public class Father {

    public void test(){
        System.out.println("父类test");
    }
}

class Son extends  Father{


    public void test(){
        System.out.println("子类test");
    }

    public static void main(String[] args) {
        Son son = new Son();
        son.test();
    }
}
